'use strict';
goog.provide('Blockly.Arduino.voice');
goog.require('Blockly.Arduino');

Blockly.Arduino.include_lib = function() {
    Blockly.Arduino.definitions_['define'] = '#include <XFS5152.h>';
    return '';
}

Blockly.Arduino.begin = function() {
    Blockly.Arduino.setups_['begin'] = 'Serial.begin(9600);\n';
    return '';
}

Blockly.Arduino.setups_
Blockly.Arduino.speak = function() {
    var input_talk = this.getFieldValue('talk');
    var code = 'XFS_FrameInfo("'+input_talk +'");\n';
    return code;
}

